import {chartFrameType, EnumChartType} from "@/pages/dv/constants/EnumDv";

/**
 * echarts框架组件
 */
const frameType = chartFrameType.echarts.type;

const EnumEchartsCharts: DV.IEnumChartRoute = {
  [EnumChartType.echarts_line]: {
    label: '折线图',
    type: EnumChartType.echarts_line,
    frameType,
    iconClass: 'echarts_line',
    component: () => import(/*webpackChunkName: `lz-chart-eline`*/'./Line'),
    panelComponent: () => import(/*webpackChunkName: `lz-panel-eline`*/'../../chartPanels/panel_echarts/Line'),
    configTemp: require('./Line').configTemp
  },












  // Echarts模板
  [EnumChartType.echarts_init]: {
    label: 'Echarts模板',
    type: EnumChartType.echarts_init,
    frameType,
    iconClass: 'echarts_init',
    component: () => import(/*webpackChunkName: `lz-chart-etemplate`*/'./Echarts'),
    panelComponent: () => import(/*webpackChunkName: `lz-panel-etemplate`*/'../../chartPanels/panel_echarts/CommonPanel'),
    configTemp: require('./Echarts').configTemp
  },
}

export default EnumEchartsCharts;
